package com.hjt.gulimall.order.to;

import com.hjt.gulimall.order.entity.OrderEntity;
import com.hjt.gulimall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 订单创建后返回的to
 * @author:97007
 * @date:2021/10/10 16:33
 */
@Data
public class OrderCreateTo {
    private OrderEntity orderEntity;
    private List<OrderItemEntity> items;
    private BigDecimal payPrice; // 订单计算出的应付价格
    private BigDecimal fare; // 运费
}
